package com.ant.storage.pojo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author hzd
 * @version 1.0
 * @date 2023/5/25 9:46
 */
@Data
public class GoodsTest {
    public GoodsTest(String name, Integer num, BigDecimal price) {
        this.name = name;
        this.num = num;
        this.price = price;
    }
    public GoodsTest() {
    }

    /**
     * 商品名称
     */
    private String name;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 该商品总价
     */
    private BigDecimal total;

    private Integer nums;
}
